package com.tox.dao.pojo;

/**
 * JavatoxWeibo entity. @author MyEclipse Persistence Tools
 */

public class JavatoxWeibo implements java.io.Serializable {

	// Fields

	private Integer id;
	
	private String content;
	private String createTime;
	
	private Integer commentCount;
	private Integer status;
	private Integer isTop;
	private String type;
	private String data;
	private JavatoxUser user;
	// Constructors

	public JavatoxUser getUser() {
		return user;
	}

	

	public void setUser(JavatoxUser user) {
		this.user = user;
	}

	/** default constructor */
	public JavatoxWeibo() {
	}

	/** full constructor */
	public JavatoxWeibo(JavatoxUser user, String content, String createTime,
			Integer commentCount, Integer status, Integer isTop, String type,
			String data) {
		this.user=user;
		this.content = content;
		this.createTime = createTime;
		this.commentCount = commentCount;
		this.status = status;
		this.isTop = isTop;
		this.type = type;
		this.data = data;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Integer getCommentCount() {
		return this.commentCount;
	}

	public void setCommentCount(Integer commentCount) {
		this.commentCount = commentCount;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getIsTop() {
		return this.isTop;
	}

	public void setIsTop(Integer isTop) {
		this.isTop = isTop;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getData() {
		return this.data;
	}

	public void setData(String data) {
		this.data = data;
	}

	@Override
	public String toString() {
		return "JavatoxWeibo [id=" + id + ", user=" + user + ", content="
				+ content + ", createTime=" + createTime + ", commentCount="
				+ commentCount + ", status=" + status + ", isTop=" + isTop
				+ ", type=" + type + ", data=" + data + "]";
	}
	
}